package com.longmao.eduservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author longmao
 * @date 2022/1/20 11:01
 * Content:
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.longmao"})
@EnableDiscoveryClient      //nacos注册
@EnableFeignClients     //服务调用
public class EduApplication {

    public static void main(String[] args) {
        SpringApplication.run(EduApplication.class, args);
    }
}